﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModel
{
    /// <summary>
    /// 直播
    /// </summary>
 public  class EM_Livebroadcast
    {

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid ID { get; set; }

        /// <summary>
        /// 主播名称
        /// </summary>
        public string? Name { get; set; }

     

        /// <summary>
        /// 开播时间
        /// </summary>
        public DateTime Start { get; set; }

        /// <summary>
        /// 下播时间
        /// </summary>
        public DateTime End { get; set; }

        /// <summary>
        /// 打赏
        /// </summary>
        public decimal Reward { get; set; }

        /// <summary>
        /// 总计卖出多少单商品
        /// </summary>
        public int Total { get; set; }



    }
}
